<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class=" registred">
	<div class="inner-wrapper">
		<div id="contentEditPersonalInformation"
			style="overflow: auto; width: 306px;">
			<h4 align="left" style="color: white;">Edit Personal
				Information:</h4>
			<form action="EditPersonalInformationServlet" method="post"
				name="editPersonalInformationForm"
				onsubmit="return checkParametersFromEditPersonalInformationPage()"
				style="width: 305px;">
				<br>		
				<table border="0">
					<tr>
						<td width="15%" style="color: white;"><b>Name:</b></td>
						<td width="85%"><input id="PersonalProfileName" value = "<c:out value="${logovaniUser.firstName}"/>">
						</td>
					</tr>
					<tr>
						<td width="15%" style="color: white;"><b>Surname:</b></td>
						<td width="80%"><input id="PersonalProfileSurname" value = "<c:out value="${logovaniUser.lastName}"/>">
						</td>
					</tr>
					<tr>
						<td><b style="margin-right: 108px; color: white;">Date of Birth:</b></td>
						<td width="70%"><input id="PersonalProfileDateOfBirth" value = "<c:out value="${cleanedUpDateOfBirth}"/>">
						</td>
					</tr>
					<tr>
						<td width="20%" style="color: white;"><b>Sex:</b></td>
						<td width="80%"><input id="PersonalProfileSex" value = "<c:out value="${logovaniUser.sex}"/>">
						</td>
					</tr>
					<tr>
						<td width="20%" style="color: white;"><b>City:</b></td>
						<td width="80%"><input name="PersonalProfileCity" value = "<c:out value="${logovaniUser.place}"/>">
						</td>
					</tr>
					<tr>
						<td width="20%" style="color: white;"><b>Education:</b></td>
						<td width="80%"><input name="PersonalProfileEducation" value = "<c:out value="${logovaniUser.education}"/>">
						</td>
					</tr>
					<tr>
						<td width="20%" style="color: white;"><b>Employment:</b></td>
						<td width="80%"><input name="PersonalProfileEmployment" value = "<c:out value="${logovaniUser.employment}"/>">
						</td>
					</tr>
					<tr>
						<td width="20%" style="color: white;"><b>Web Adress:</b></td>
						<td width="80%"><input name="PersonalProfileWebAdress" value = "<c:out value="${logovaniUser.webSite}"/>">
						</td>
					</tr>
					<tr>
						<td width="20%"><a href="ViewSelectedPostsPage.jsp">Go
								Back</a></td>
						<td align="right" width="80%"><input type="submit"
							name="btnOkay" value="Okay"></td>
					</tr>
				</table>
				<%-- 
					<c:choose>
						<c:when test='${dateStatus == "INVALID_DATE_FORMAT"}'>
							<h4 align="center">
								<b style="color: red">Invalid Date Format.Please Type
									Correct Format: dd/mm/yyyy !</b>
							</h4>
						</c:when>
						<c:otherwise>
							<h4 align="center">
								<b style="color: red;">Note!</b> <b style="color: blue;">&nbsp;Date
									Of Birth Format: dd/mm/yyyy !</b>
							</h4>
						</c:otherwise>
					</c:choose> --%>
			</form>
			<form action="UploadProfilePictureServlet" enctype="multipart/form-data" method="post" 
			  		  	  			name="UploadProfilePictureForm" onsubmit="return checkUploadPictureDataFromPersonalProfile()">
		              	   			<table border="0" width="100%">	
		              	   				<tr>
		              	   					<td><b style="color: black;">Profile Picture:</b></td>	  		  							
		              	   				</tr>			
			  		  	  		  		<tr>
			  		  						<td> 
			  		  							<input type="file" name="fileName" align="left">
			  		  							<input type="submit" value="Okay" align="left">
			  		  						</td>
			  		  	  		  		</tr>	        				 
		              	   			</table>      
		              	   		</form>       	    
		</div>
	</div>
</div>